cmake_minimum_required(VERSION 3.23)
project(ClassWork C)

set(CMAKE_C_STANDARD 99)


#语言版本
add_executable(card card/card.c)

#作业 全排序
add_executable(FullPermutation FullPermutation/FullPermutation.c)
#add_executable(Test FullPermutation/Test.c)

#作业 最小公因数
#add_executable(Test GCD/Test.c)
add_executable(GCD GCD/GCD.c)

#实验一  排序作业
add_executable(Sort Sort/Sort.c)
#add_executable(RandomTest Sort/Test.c)

#实验二 棋盘布满问题
add_executable(ChessBoard ChessBoard/ChessBoard.c)

#实验三 线性时间选择
add_executable(LTSelection LinearTimeSelection/LinearTimeSelection.c)

#实验四 动态规划 矩阵划分
add_executable(MatrixPartition MatrixPartition/MatrixPartition.c)
add_executable(MatrixChain MatrixChain/MatrixChain.c)

#实验五 动态规划 最长公共子序列
add_executable(LongestCommonSubsequence LongestCommonSubsequence/LongestCommonSubsequence.c)

#实验六
add_executable(Dijkstra Dijkstra/Dijkstra.c)

#实验七
add_executable(MST MST/MST.c)

#实验八
add_executable(Queen Queen/Queen.c)

add_executable(BigSmall BigSmall/judge.c)